<?php
	echo $this->renderElement('message');
	echo "<h2 id='contentTitle'>".$pageTitle."</h2>";
	echo $form->create(null,array('action'=>'add/'.$video['Video']['id'],'type' => 'file'));
	
	echo $form->input('Video.name', array('label'=>'Nome','value'=>$video['Video']['name']));
	
	echo $form->input('Video.url', array('label'=>'URL do Youtube','value'=>$video['Video']['url']));
	echo "<p><small>(Exemplo de URL: http://www.youtube.com/watch?v=videoid)</small></p>";
	
	echo $form->input('Video.description', array('type'=>'textarea', 'value'=>$video['Video']['description'],'label'=>'Descrição'));
	
	echo $form->end('Salvar');
?>